package bma.common.langutil.ai.stack;

import java.util.concurrent.atomic.AtomicBoolean;

public class AIStackOne<RESP_TYPE> extends AIStackWrap<RESP_TYPE> {

	private AtomicBoolean flag = new AtomicBoolean();

	public AIStackOne(AIStack<RESP_TYPE> delegate) {
		super(delegate);
	}

	@Override
	protected boolean done() {
		return flag.getAndSet(true);
	}
}
